<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>修改客户信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css"/>
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/khxx/khxx-info"]
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style>
        .mui-content {
            padding: 0;
        }

        .mui-scroll {
            padding-bottom: 20px;
        }

        .mui-scroll-wrapper {
            bottom: 60px;
        }

        .mui-input-row label ~ input, .mui-input-row label ~ select, .mui-input-row label ~ textarea {
            width: 64%;
        }

        .wf-customers-add .mui-input-group .mui-input-row label {
            width: 35%;
        }
    </style>
</head>

<body>
<div class="mui-content mui-fullscreen flex-container-v wf-user-add wf-customers-add">
    <div class="flex-content-center">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
                <form class="mui-input-group">
                    <div class="mui-input-row">
                        <label>客户名称</label>
                        <input v-model="sub.GWAKL004" type="text" class="mui-input-clear" placeholder="请输入客户名称">
                    </div>
                    <div class="mui-input-row">
                        <label>联系人</label>
                        <input v-model="sub.GWAK031" type="text" class="mui-input-clear" placeholder="请输入联系人姓名">
                    </div>
                    <div class="mui-input-row">
                        <label>手机号码</label>
                        <input v-model="sub.GWAK030" type="number" class="mui-input-clear" placeholder="请输入手机号码">
                    </div>
                    <!--<li class="mui-input-row">-->
                    <!--<a class="mui-navigate-right">使用地址</a>-->
                    <!--</li>-->
                    <div class="mui-input-row">
                        <label>省份</label>
                        <select v-model="sub.GWAK023" @change="provinceChange" class="selectCont" v-cloak>
                            <option v-for="p in provinces" :value="p.GWAD002">{{p.GWADL004}}</option>
                        </select>
                    </div>
                    <div class="mui-input-row">
                        <label>城市</label>
                        <select @change="cityChange" v-model="sub.GWAK024" class="selectCont">
                            <option v-for="p in citys" :value="p.GWAD002">{{p.GWADL004}}</option>
                        </select>
                    </div>
                    <div class="mui-input-row">
                        <label>区县</label>
                        <select v-model="sub.GWAK025" class="selectCont">
                            <option v-for="p in districts" :value="p.GWAD002">{{p.GWADL004}}</option>
                        </select>
                    </div>
                    <div class="mui-input-row">
                        <label>发票地址</label>
                        <textarea v-model="sub.GWAK028" rows="5" placeholder="请输入发票地址"></textarea>
                    </div>
                </form>
                <form class="mui-input-group" style="margin-top: 10px;">
                    <!--<div class="mui-input-row">-->
                    <!--<label>客户渠道</label>-->
                    <!--<select v-model="sub.GWAK010" class="selectCont">-->
                    <!--<option v-for="p in customerFroms" :value="p.gwae001">{{p.gwael003}}</option>-->
                    <!--</select>-->
                    <!--</div>-->
                    <div class="mui-input-row">
                        <label>行业一级分类</label>
                        <select v-model="sub.GWAK054_1" @change="industrysChange" class="selectCont">
                            <option v-for="p in industrys" :value="p.GWBW001">{{p.GWBWL003}}</option>
                        </select>
                    </div>
                    <div class="mui-input-row">
                        <label>行业二级分类</label>
                        <select v-model="sub.GWAK054" class="selectCont">
                            <option v-for="p in industrys2" :value="p.GWAG001">{{p.GWAGL003}}</option>
                        </select>
                    </div>
                    <div class="mui-input-row">
                        <label>其他备注信息</label>
                        <textarea v-model="sub.GWAK055" rows="5" placeholder="请输入其他备注信息"></textarea>
                    </div>
                    <div class="mui-input-row">
                        <label>开户银行</label>
                        <input v-model="sub.GWAK004" type="text" placeholder="请输入开户银行">
                    </div>
                    <div class="mui-input-row">
                        <label>银行账户</label>
                        <input v-model="sub.GWAK003" type="text" placeholder="请输入银行账户">
                    </div>
                    <div class="mui-input-row">
                        <label>税号</label>
                        <input v-model="sub.GWAK007" type="text" placeholder="请输入税号">
                    </div>
                    <div class="mui-input-row">
                        <label>发票电话</label>
                        <input v-model="sub.GWAK013" type="number" class="mui-input-clear" placeholder="请输入发票电话">
                    </div>
                    <div class="mui-input-row">
                        <label>传真电话</label>
                        <input v-model="sub.GWAK014" type="number" class="mui-input-clear" placeholder="请输入传真电话">
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div style="width: 100%;" class="footBtn flexl shadow2">
        <button @tap.stop="addData" type="button" class="mui-btn mui-btn-royal mui-btn-block mui-btn-outlined addCar">
            保存
        </button>
        <button @tap.stop="editData" type="button" class="mui-btn mui-btn-royal mui-btn-block wf-second-bg addCar">
            修改联系人
        </button>
    </div>
</div>
</body>
</html>